package cn.ztr.ymcc.mapper;

import cn.ztr.ymcc.domain.Login;
import cn.ztr.ymcc.domain.LoginRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 登录表 Mapper 接口
 * </p>
 *
 * @author ztr
 * @since 2023-02-24
 */
public interface LoginMapper extends BaseMapper<Login> {
    boolean addLoginRole(LoginRole loginRole);

    List<Long> findRoleIdByLoginId(Long LoginId);
}
